<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>简单布局demo</title>
    <style>

        .container {
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 1px 1px 1px #666666;
        }

        .container > header {
            background-color: #eeeeee;
            color: black;
            height: 100px;
            text-align: center;
        }

        .container > header > h1 {
            line-height: 100px;
        }

        .container > footer {
            background-color: #00B83F;
            color: yellow;
            height: 60px;
            line-height: 60px;
            text-align: center;
        }

        .container > section {
            display: flex;
            min-height: 720px;
        }

        .container > section > nav, article, aside {
            padding: 1em;
        }

        .container > section > nav {
            background-color: #00B83F;
            color: black;
            order: 1;
            flex: 1;
        }

        .container > section > article {
            background-color: #00FF00;
            color: gold;
            order: 2;
            flex: 2;
        }

        .container > section > aside {
            background-color: #1b6d85;
            color: yellow;
            order: 3;
            flex: 1;
        }

    </style>

</head>
<body>
<div class="container">
    <header>
        <h1>页眉区域</h1>
    </header>
    <section>
        <article>
            <h1>主体内容</h1>
            <p>段落文本</p>
        </article>
        <nav>
            <h2>导航栏</h2>
            <ul>
                <li><a href="#">主页</a></li>
                <li><a href="#">咨询</a></li>
                <li><a href="#">商品</a></li>
            </ul>
        </nav>
        <aside>
            <h2>其他项目</h2>
            <p>侧栏内容</p>
        </aside>
    </section>
    <footer>
        <p>页脚文本</p>
    </footer>
</div>
</body>
</html>